package com.zs.mapper;

import java.util.List;

import com.zs.model.ResourceEntity;
import com.zs.model.criteria.BaseCriteria;

public interface ResourceMapper{
	public List<ResourceEntity> selectResourceList(BaseCriteria baseCriteria);
	public int getTotalCount();
	public List<ResourceEntity> selectResourceListByUserId(String id);
	
	//根据userid,resourceId插入进user_resource表
	
	public void addLinkUserAndResource(String userId,String resourceId);
	
	public void delLinkUserAndResource(String userId,String resourceId);
}
